//接口

//引入axios
import axios from "axios";
import request from "../utils/request"; // 这里是引入咱们的axios用axios来进行异步接口请求
//比如说接口为注册接口
export function history(params) {
  return axios.get(`http://localhost:4000/chatroom/history`, { params });
}
